package com.efast.cafe.portal.remote.query;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.efast.cafe.framework.feign.constant.FeignConstant;
import com.efast.cafe.portal.bean.query.QueryBean;
@FeignClient(name = "cafe.portal-service",path="/cafe.portal-service")
public interface QueryTemplateService {

	@RequestMapping(value = FeignConstant.Scope.FEIGN_SCOPE_PV_AUTH+"/portal/query/queryTempalteDetailByCode",method=RequestMethod.POST)
	QueryBean queryTempalteDetailByCode(@RequestParam("code")String code,@RequestParam("templateSaveId")Integer templateSaveId);
	
}
